//
//  AppDelegate.m
//  翼安保
//
//  Created by duzhi on 2024/4/15.
//

#import "AppDelegate.h"
#import "HomeViewController.h"

@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
    self.window.backgroundColor = [UIColor whiteColor];
    HomeViewController *vc = [HomeViewController new];
    self.window.rootViewController = [[UINavigationController alloc] initWithRootViewController:vc];
    [self.window makeKeyAndVisible]; //设置为主窗口并显示出来
    
    
//    if (@available(iOS 13.0, *)) {
//        // 强制使用浅色模式
//        [[UIView appearance] setTintColor:[UIColor whiteColor]];
//        self.window.overrideUserInterfaceStyle = UIUserInterfaceStyleLight;
//    }
    return YES;
}



@end
